package com.lxw.oa.controller.io;

public class BaseTo {

    private int code;
    private Object body;

    public  BaseTo(){
        this.code = 200;
    };

    public BaseTo(Object body){
        this.code = 200;
        this.body = body;
    }


    public BaseTo(int code, Object body) {
        this.code = code;
        this.body = body;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }
}
